package com.yonyou.le.unattended.delivery.enumeration;

/**
 * 设备位置
 * @author zhangbbd
 */
public enum DevicePositionEnum {
	/**
	 * 磅前
	 */
	WEIGH_FRONT("磅前",0),
	/**
	 * 磅上
	 */
	WEIGH_ON("磅上",1),
	/**
	 * 磅后
	 */
	WEIGH_AFTER("磅后",2),
	/**
	 * 进门
	 */
	DOOR_ENTER("进门",3),
	/**
	 * 出门
	 */
	DOOR_OUT("出门",4),
	/**
	 * 装卸前
	 */
	LOAD_BEFORE("装卸前",5),
	/**
	 * 装卸后
	 */
	LOAD_AFTER("装卸后",6);
	
	private String name ;
    private int index ;
     
    private DevicePositionEnum( String name , int index ){
        this.name = name ;
        this.index = index ;
    }
     
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}
